package edu.sctu.fengleilin.month05.day150504;

/**
 * Created by user09 on 2015/5/4.
 */
public class Day1Client {
    public static void main(String[] args) {

        Calculator calculator = new Calculator();

        int result;

        result = calculator.plus(2, 3);
        System.out.println("2 + 3 = " + result);

        result = calculator.sub(3, 2);
        System.out.println("3 - 2 = " + result);

        result = calculator.muti(2,3);
        System.out.println("2 * 3 = " +result);

        result = calculator.divide(4,2);
        System.out.println("4 / 2 = " + result);

    }
}

